import {IsNotEmpty,IsString} from 'class-validator'
export class LoginUserDto {
    @IsNotEmpty({message:'账号不能为空'})
    @IsString({message:'账号必须为字符'})
    account:string

    @IsNotEmpty({message:'密码不能为空'})
    password:string
}
